home *** CD-ROM | disk | FTP | other *** search
- Path: news.NetVision.net.il!news
- From: Shlomo Wygodny <wygodny@mercury.co.il>
- Newsgroups: comp.lang.c++
- Subject: meaning of int a::*b
- Date: Mon, 19 Feb 1996 11:16:55 +0200
- Organization: Mercury Interactive
- Message-ID: <31284007.7977@mercury.co.il>
- NNTP-Posting-Host: nina.mercury.co.il
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b6a (WinNT; I)
-
- In the following (compilable) program:
-
- class a{};
- int a::*b;
- void main(){}
-
- Does someone know what is the meaning of int a::*b; ?
- It's probably a declaration of a variable b of type int a::* .
- But what
- does it mean? What can be assigned to it?
-
- - Shlomo.
-